package tech.aistar.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {

  private int id;
  private String number;
  private Date ordertime;
  private int userid;
  private int filmid;
  private String filmname;
  private int showid;
  private String showShowdate;
  private String showShowtime;
  private String showPrice;
  private String showSeat;
  private String seatStatus;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }

  public Date getOrdertime() {
    return ordertime;
  }

  public void setOrdertime(Date ordertime) {
    this.ordertime = ordertime;
  }

  public int getUserid() {
    return userid;
  }

  public void setUserid(int userid) {
    this.userid = userid;
  }

  public int getFilmid() {
    return filmid;
  }

  public void setFilmid(int filmid) {
    this.filmid = filmid;
  }

  public String getFilmname() {
    return filmname;
  }

  public void setFilmname(String filmname) {
    this.filmname = filmname;
  }

  public int getShowid() {
    return showid;
  }

  public void setShowid(int showid) {
    this.showid = showid;
  }

  public String getShowShowdate() {
    return showShowdate;
  }

  public void setShowShowdate(String showShowdate) {
    this.showShowdate = showShowdate;
  }

  public String getShowShowtime() {
    return showShowtime;
  }

  public void setShowShowtime(String showShowtime) {
    this.showShowtime = showShowtime;
  }

  public String getShowPrice() {
    return showPrice;
  }

  public void setShowPrice(String showPrice) {
    this.showPrice = showPrice;
  }

  public String getShowSeat() {
    return showSeat;
  }

  public void setShowSeat(String showSeat) {
    this.showSeat = showSeat;
  }

  public String getSeatStatus() {
    return seatStatus;
  }

  public void setSeatStatus(String seatStatus) {
    this.seatStatus = seatStatus;
  }

  @Override
  public String toString() {
    return "Order{" +
            "id=" + id +
            ", number='" + number + '\'' +
            ", ordertime=" + ordertime +
            ", userid=" + userid +
            ", filmid=" + filmid +
            ", filmname='" + filmname + '\'' +
            ", showid=" + showid +
            ", showShowdate='" + showShowdate + '\'' +
            ", showShowtime='" + showShowtime + '\'' +
            ", showPrice='" + showPrice + '\'' +
            ", showSeat='" + showSeat + '\'' +
            ", seatStatus='" + seatStatus + '\'' +
            '}';
  }
}
